namespace SmartPeople.Framework.SecuritySpace
{
    public interface ISecuritySecuredDocumentsProvider
    {
        void SetDefaultPathType(ISecuritySecuredType securedType);
        ISecuritySecuredDocument GetDocument(string path);
        ISecuritySecuredDocument GetKnownParentPath(string path);
        void UpdatePath(ISecuritySecuredDocument securityPath);
        //ISecuritySecuredDocument CreateDocument(string path, string documentName, string securedTypeName);

        ISecuritySecuredDocument CreatePath(string path, ISecuritySecuredType securedType,
                                            ISecuritySecuredType defaultSecuredType);


        ISecuritySecuredDocument CreatePath(string pathName, ISecuritySecuredType securedType
                                            , ISecuritySecuredType defaultChildSecuredType
                                            , ISecuritySecuredDocument parentSecuredDocument);

        int Count { get; }
        void Clear();
    }
}